﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NaturalNote.Core.Database
{
    public interface IDb
    {
        void Insert<T>(T row) where T: class, new();
        void Insert<T>(IEnumerable<T> row) where T : class, new();
        void Save<T>(T row) where T : class, new();
        void Save<T>(IEnumerable<T> rows) where T : class, new();
    }
}
